<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>HTMX</title>
    <script src="https://unpkg.com/htmx.org@2.0.2"></script>
  </head>
  <body>
     <form>
       <input type="text" name="name" placeholder="Name">
       <input type="email" name="email" placeholder="Email">
       <button hx-post="/payload" hx-trigger="click" hx-target="#result">Send</button>
     </form>
     <div id="result"></div>
  </body>
</html>
